﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessComponents.Managers
{
    public interface IReservationMgr
    {
        ReservationMaster getReservationInfo(string reservationId);

        bool isOwner(string reservationId, Guid userId);

        void cancelReservation(string reservationId);

        bool createReservation(ReservationMaster master);

        IEnumerable<BusinessComponents.ReservationMaster> listReservationByUserId(Guid userId);

        IEnumerable<ReservationMaster> listReservationByPattern(string pattern);
    }
}
